AmeliaBooking\Application\Services\Booking\AppointmentApplicationService D

Total Complexity 238
Dependencies 30
Dependents 0
Total lines 1,624
Lines of code 935
Logical lines of code 429
Comment lines 371
Methods 28
Properties 1

Methods 28

Method Rating Maintainability Complexity Lines of code
addOrEditAppointment()
D
28
36 130
update()
C
30 28 110
bookingDetailsChanged()
B
43 23 44
getUserConnectionChanges()
A
45 16 39
manageAppointmentStatusByBooking()
A
41 12 60
add()
A
38 11 69
processPackageAppointmentBooking()
A
45 12 41
delete()
A
53 12 23
isAppointmentStatusChangedWithBooking()
A
43 7 50
removeBookingFromGroupAppointment()
A
40 5 65
getMaximumBookingDuration()
A
58 8 16
canBeBooked()
S
49 7 29
build()
S
49 6 30
getBookingLengthTime()
S
59 7 13
getAlreadyBookedAppointment()
S
51 6 28
approveBooking()
S
46 5 41
getBookingPriceForServiceDuration()
S
61 6 12
getAppointmentLengthTime()
S
59 5 15
manageDeletionParentRecurringAppointment()
S
57 4 17
appointmentDetailsChanged()
S
64 5 10
getAppointmentEntitiesIdsBySearchString()
S
52 3 26
removeBookingFromNonGroupAppointment()
S
52 3 25
convertTime()
S
62 3 12
getAppointmentBooking()
S
67 3 8
isAppointmentRescheduled()
S
68 2 7
calculateAndSetAppointmentEnd()
S
66 1 9
isAppointmentStatusChanged()
S
79 1 3
__construct()
S
81 1 3